<?php
return array(
	//'配置项'=>'配置值'
	'DB_TYPE' => 'mysql', // 数据库类型
	'DB_HOST' => '120.77.0.127', // 服务器地址
	'DB_NAME' => 'tiango_data', // 数据库名
	'DB_USER' => 'tiangodata', // 用户名
	'DB_PWD' => 'a9a505e194ade3aba7c6bbca51d7534d', // 密码
	'DB_PORT' => '3306', // 端口
	'DB_PREFIX' => 'tlw_', // 数据库表前缀
	'DB_DSN' => '', // 数据库连接DSN 用于PDO方式
	'DB_CHARSET' => 'utf8', // 数据库的编码 默认为utf8
	'DB_PARAMS' => array(\PDO::ATTR_CASE => \PDO::CASE_NATURAL), //去掉查询时强制转换为小写

	//http://jos.jd.com/doc/channel.htm?id=152 获取授权说明
	// 京东颁发的唯一标识一个商家的ID号 app_key        027F4F7D5F1616F5E26447366279B139
	// 创建应用时的Appsecret（从JOS控制台->管理应用中获取） app_secret     a92b5bb626864933b52aca0bfc46b28f
	//accessToken     179434c2-8fb0-455d-b1be-a0e2bc4e2dac    e4f45ed5-dfa1-42dd-9409-e7081ac90b87
	// 调用入口环境地址，即调用接口(API)时，都通过访问该地址，来获取该接口需要获取的数据正式环境 SERVER_URL      http://open-api.jcloud.com/routerjson
	// 平台ID platform_id    20170410120   

	//京东接口配置
	'JOS_CONFIG' =>array(
	    'appKey' => '5EC3009052005867E016BE59E6AA2D90',
		'appSecret'	=> '9eb78cd1d9ef4816a853ead79b59ce96',
		'accessToken' => 'b772770b-a60f-48ed-9ddf-fced65fbb72e',

		// 'SERVER_URL' => 'https://api.jd.com/routerjson',

		// 'appKey' => '7AA1C7FD6C026D75D72260D8B5DEC4D6',
		// 'appSecret'	=> '1887cb914bf34d569164a939d7606711',
		// 'accessToken' => 'd219b879-817b-40f2-aac5-87accc3c3f20',
		
		'SERVER_URL' => 'http://open-api.jcloud.com/routerjson',

		// 'SERVER_URL' => 'https://gw.api.360buy.com/routerjson',

		// server_url:http://open-api.jcloud.com/routerjson

		// 'redirect_uri' => 'https://www.baidu.com/',

		'redirect_uri' => 'http://120.77.0.127/tlwork/index.php?s=/Home/Index/token/',
		
		// 'redirect_uri' => 'http://47.106.126.78/test/jdcode.php',
		// 'redirect_uri' => 'http://120.76.99.226/luoj/jd.php',

		'code_url' => 'http://auth.jcloud.com/oauth/authorize?',
		'token_url' => 'http://auth.jcloud.com/oauth/token?',

		// 'code_url' => 'https://oauth.jd.com/oauth/authorize?',
		// 'token_url' => 'https://oauth.jd.com/oauth/token?',
	),
);

// 授权code的地址, 我们是用这个:
// http://auth.jcloud.com/oauth/authorize?response_type=code&state=myststeid&client_id=5EC3009052005867E016BE59E6AA2D90&redirect_uri=http://47.106.126.78/test/jdcode.php&scope=read&domain=http://www.tlwok.com/